Não sei se posso estar lhe ajudando (também posso estar falando merda), mas acho que é alguma coisa relacionada a área em negrito:
Por exemplo na Great Health Potion:
local MIN = 500
local MAX = 700
local EMPTY_POTION = 7635
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayer(itemEx.uid) == FALSE then
return FALSE
end
if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then
doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
return TRUE
end
if((not(isKnight(itemEx.uid)) or getPlayerLevel(itemEx.uid) < 80) and getPlayerCustomFlagValue(itemEx.uid, PlayerCustomFlag_GamemasterPrivileges) == FALSE) then
doCreatureSay(itemEx.uid, "Only knights of level 80 or above may drink this fluid.", TALKTYPE_ORANGE_1)
return TRUE
end
if doCreatureAddHealth(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then
return FALSE
end
doAddCondition(cid, exhaust)
doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE)
doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) return TRUE
end
Não sei se usando numeros da pra fazer alguma alteração. Creio que essas condições você alteraria ou nas sources (possivel que não), ou então na quela area .svn da sua pasta liquids...
Espero que alguem possa estar esclareçendo sua duvida!






info
Grupo: Campones
Registrado: 07/01/13
Posts: 1
Reputação: 0
To montando um ot, só por que as potions estao muito lentas